<?php
session_start(); 
if(!isset($_SESSION['userName'])){
header( 'location: ../index.php' ); 
}

include("../conf/connect.php");
/*for($i=4;$i<=10;$i++){
$j=$i-1;
	echo $sql = "ALTER TABLE education ADD ed0$i VARCHAR(10) NULL AFTER ed0$j"; 
	mysql_query($sql);
	echo "<br>";
}*/
for($i=1;$i<=8;$i++){
//$j=$i-1;
	echo $sql = "INSERT INTO retreive_data (id, qus, hoption, value, is_delete, status)
			values
			('', 'mh09', '$i', '', 0, 0)"; 
	//echo $sql= "UPDATE retreive_data set  qus ='cm15a' WHERE  qus='cm15a_$i' ";
	mysql_query($sql);
	echo "<br>";
}

?>